package br.com.extrajudicial.util;

import org.hibernate.cfg.AnnotationConfiguration;
import org.hibernate.tool.hbm2ddl.SchemaExport;

public class CreateDatabase {
	
	public static void main(String[] args) {
		
		AnnotationConfiguration conf = new AnnotationConfiguration();
		conf.configure();
		SchemaExport se = new SchemaExport(conf);
		se.create(true, true);
		
	}

}
